package com.suning.sawp.po.promotion;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 异业优惠券记录
 * @author 14062606
 *
 */
@Document(collection = "HorizProCoupon")
public class HorizProCoupon implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -1526686750459497696L;

	/**
	 * 主键
	 */
	@Id
	private String id;
	
	/**
	 * 异业券号
	 */
	private String horizId;
	
	/**
	 * 促销中心活动编码
	 */
	private String proActivityId;
	
	/**
	 * 促销中心活动名称
	 */
	private String proActivityName;
	
	/**
	 * 活动密钥
	 */
	private String activitySecretKey;
	
	/**
	 * 会员编码
	 */
	private String custNum;
	
	/**
	 * 会员手机号
	 */
	private String mobile;
	
	/**
	 * 工号
	 */
	private String staffId;
	
	/**
	 * 验券时间
	 */
	private Date valiCouponTime;
	
	/**
	 * 大区编码
	 */
	private String regionCode;
	
	/**
	 * 大区名称
	 */
	private String regionName;
	
	/**
	 * 门店编码
	 */
	private String storeCode;
	
	/**
	 * 门店名称
	 */
	private String storeName;

	/**
	 * 导入批次码
	 */
	private String importBatch;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getHorizId() {
		return horizId;
	}

	public void setHorizId(String horizId) {
		this.horizId = horizId;
	}

	public String getProActivityId() {
		return proActivityId;
	}

	public void setProActivityId(String proActivityId) {
		this.proActivityId = proActivityId;
	}

	public String getProActivityName() {
		return proActivityName;
	}

	public void setProActivityName(String proActivityName) {
		this.proActivityName = proActivityName;
	}

	public String getActivitySecretKey() {
		return activitySecretKey;
	}

	public void setActivitySecretKey(String activitySecretKey) {
		this.activitySecretKey = activitySecretKey;
	}

	public String getCustNum() {
		return custNum;
	}

	public void setCustNum(String custNum) {
		this.custNum = custNum;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getStaffId() {
		return staffId;
	}

	public void setStaffId(String staffId) {
		this.staffId = staffId;
	}

	public Date getValiCouponTime() {
		return valiCouponTime;
	}

	public void setValiCouponTime(Date valiCouponTime) {
		this.valiCouponTime = valiCouponTime;
	}

	public String getRegionCode() {
		return regionCode;
	}

	public void setRegionCode(String regionCode) {
		this.regionCode = regionCode;
	}

	public String getRegionName() {
		return regionName;
	}

	public void setRegionName(String regionName) {
		this.regionName = regionName;
	}

	public String getStoreCode() {
		return storeCode;
	}

	public void setStoreCode(String storeCode) {
		this.storeCode = storeCode;
	}

	public String getStoreName() {
		return storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public String getImportBatch() {
		return importBatch;
	}

	public void setImportBatch(String importBatch) {
		this.importBatch = importBatch;
	}

	public interface Attributes {
        String PRO_ACTIVITY_ID = "proActivityId";
        String HORIZID = "horizId";
        String STAFF_ID = "staffId";
        String IMPORT_BATCH = "importBatch";
        String VALI_COUPON_TIME = "valiCouponTime";
        String CUST_NUM = "custNum";
        String STORE_CODE = "storeCode";
        String REGION_CODE = "regionCode";
        String ACTIVITY_NAME = "proActivityName";
    }
	
	public interface Status {
	    //缓存key
	    String CACHE_NAME = "cache_proActivity";
	    //开始生成券
	    String COUPON_BEGIN = "1";
	    //开始生成文件
	    String COUPON_FILE_BEGIN = "2";
	    //生成文件失败
	    String COUPON_FILE_FAIL = "3";
	}
}
